<?php
if (!defined('IN_XLP')) {
    exit('Access Denied');
}
?>
<style>
.pictureList ul {
	margin:0;
	padding:0;
}
.pictureList li {
	list-style-type:none;
	float:left;
	margin:3px
}
.show-pop-content {
	overflow-y:scroll;
	overflow-x:hidden;
	table-layout: fixed;
	word-wrap:break-word;
	word-break:break-all;
}
</style>
<div class="table-responsive show-pop-content" style="width:650px; height:400px;">
  <table class="table">
    <tbody>
      <tr>
        <td height="30" align="left"><strong>标题</strong>：<?php echo $rs['title'];?></td>
      </tr>
      <tr>
        <td height="42" align="left" valign="top"><strong>价格</strong>：<?php echo $rs['price'];?></td>
      </tr>
      <tr>
        <td height="42" align="left" valign="top"><strong>成色</strong>：<?php echo $rs['fineness'];?></td>
      </tr>
      <tr>
        <td height="42" align="left" valign="top"><strong>电话</strong>：<?php echo $rs['call_phone'];?></td>
      </tr>
      <tr>
        <td height="42" align="left" valign="top"><strong>内容</strong>：<?php echo $rs['content'];?></td>
      </tr>
      <tr>
        <td align="center"><?php
			if ($rs['photo_counts']){
		?>
          <div class="pictureList">
            <ul>
              <?php
			foreach($rs['pics_list'] as $k=>$v){
			if ($v['status']){
			?>
              <li><a href="<?php echo getImgUrl($v['url']);?>" target="_blank"><img src="<?php echo getImgUrl($v['thumb']);?>"/></a></li>
              <?php
				}else{
			?>
              <li><img src="<?php echo IMG_PATH;?>icon/del.gif" /></li>
              <?php
				}
			}
			?>
            </ul>
          </div>
          <?php
			}
		?></td>
      </tr>
    </tbody>
  </table>
  <div style="margin:10px 20px"><p class="btn-group btn-group-justified"><a class="btn btn-success" target="_blank" href="<?php echo U('weixin/sechand/detail',array('vid'=>$rs['village_id'],'sid'=>$rs['sid']));?>">回复帖子</a></p></div>
</div>
